// 电子签章模块接口
import request from '@/utils/request'
import { commonBaseUrl } from '@/utils'

const moduleName = commonBaseUrl('B')

// 获取省份数据信息
// export function getProvinceSelect(data) {
//     return request({
//         url: `${bpmJn}compreQuery/getProvinceInfo`,
//         method: 'post',
//         showLoading: true,
//         data
//     })
// }

// 决算获取table信息
export function queryFinPageList(data) {
    return request({
        url: moduleName + 'api/finalAccount/export/queryFinPageList',
        showLoading: true,
        method: 'post',
        timeout: 300000,
        data
    })
}

// 决算获取table总条数
export function queryFinPageListCount(data) {
    return request({
        url: moduleName + 'api/finalAccount/export/queryFinPageListCount',
        showLoading: true,
        method: 'post',
        timeout: 300000,
        data
    })
}

// 获取省份数据信息
export function getProvinceInfo() {
    return request({
        url: moduleName + 'api/settlement/export/getProvinceInfo',
        showLoading: true,
        method: 'post'
    })
}

// 获取城市数据信息
export function getCityInfo(data) {
    return request({
        url: moduleName + 'api/settlement/export/getCityInfo',
        showLoading: true,
        method: 'post',
        data
    })
}

// 获取区域数据信息
export function getCountryInfo(data) {
    return request({
        url: moduleName + 'api/settlement/export/getCountryInfo',
        showLoading: true,
        method: 'post',
        data
    })
}

// 决算导出清单
export function finalAsyncExport(data) {
    return request({
        url: moduleName + 'api/finalAccount/export/finalAsyncExport',
        showLoading: true,
        method: 'post',
        data
    })
}

// 结算获取table信息
export function querySettPageList(data) {
    return request({
        url: moduleName + 'api/settlement/export/querySettPageList',
        showLoading: true,
        method: 'post',
        timeout: 300000,
        data
    })
}
// 结算获取table总条数
export function querySettPageListCount(data) {
    return request({
        url: moduleName + 'api/settlement/export/querySettPageListCount',
        showLoading: true,
        method: 'post',
        timeout: 300000,
        data
    })
}

// 结算导出清单
export function settAsyncExport(data) {
    return request({
        url: moduleName + 'api/settlement/export/settAsyncExport',
        showLoading: true,
        method: 'post',
        data
    })
}

